export function getUserInfo() {
      if (localStorage.userInfo) {
        return JSON.parse(localStorage.userInfo);
      }  
}